<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.js"></script>
</head>
<body>
    <div id="app">
        <com-a name="张三" age="20"></com-a>
        <com-b></com-b>
    </div>
    <script type="module">
        import ComA from './ComA.js';
        import ComB from './ComB.js';

        new Vue({
            el:"#app",
            components:{
                ComA,
                ComB
            }
        })


    </script>
</body>
</html>